package com.baosight.tsdb;

import java.math.BigDecimal;

public class PdsDataRecord {

    int quality;
    long timestamp;
    int type;
    BigDecimal value;
    int tag_id;

    public int getQuality() {
        return quality;
    }

    public void setQuality(int quality) {
        this.quality = quality;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }

    public int getTag_id() {
        return tag_id;
    }

    public void setTag_id(int tag_id) {
        this.tag_id = tag_id;
    }

    @Override
    public String toString() {
        return "PdsDataRecord{" +
                "quality=" + quality +
                ", timestamp=" + timestamp +
                ", type=" + type +
                ", value=" + value +
                ", tag_id=" + tag_id +
                '}';
    }
}
